package com.example.networkrequestencapsulation.model;

import java.io.Serializable;

/**
 * 作者 : chenyixi
 * 日期 : 2019/11/19 18:26
 * 文件包名 : com.example.networkrequestencapsulation.model
 * 描述 :
 */
public class SimpleResponse implements Serializable {

    private static final long serialVersionUID = -1477609349345966116L;

    public int code;
    public String msg;

    public CommendResponse toLzyResponse() {
        CommendResponse lzyResponse = new CommendResponse();
        lzyResponse.code = code;
        lzyResponse.msg = msg;
        return lzyResponse;
    }
}

